package cn.edu.gzhmt.category.domain;

import java.io.Serializable;

public class Category implements Serializable {

	private String cid; // 分类id
	private String cname; // 分类名称
	private String cdesc; // 分类描述
	private Boolean del; // 是否已经删除
	
	public Category() {
		super();
	}

	public Category(String cid, String cname, String cdesc, Boolean del) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.cdesc = cdesc;
		this.del = del;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getCdesc() {
		return cdesc;
	}

	public void setCdesc(String cdesc) {
		this.cdesc = cdesc;
	}

	public Boolean getDel() {
		return del;
	}

	public void setDel(Boolean del) {
		this.del = del;
	}

	@Override
	public String toString() {
		return "Category [cid=" + cid + ", cname=" + cname + ", cdesc=" + cdesc
				+ ", del=" + del + "]";
	}
}
